- Do the modern way to enable the buildroot with crb and epel
Signed-off-by: Colin Walters <walters@verbum.org>
pkg_upgrade
pkg_install_buildroot
+pkg_install ccache
pkg_builddep ostree
# Not yet in the spec
pkg_install composefs-devel
fi
pkg_install_if_os fedora gjs gnome-desktop-testing parallel coccinelle clang \
python3-PyYAML
-if test "${OS_ID}" = "centos"; then
- rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
- pkg_install python34{,-PyYAML}
-fi
pkg_install dnf-plugins-core @buildsys-build;;
centos)
# Sadly this stuff is actually hardcoded in *Python code* in mock...
+ dnf -y install dnf-utils
+ dnf config-manager --enable crb
+ dnf -y install https://dl.fedoraproject.org/pub/epel/epel{,-next}-release-latest-9.noarch.rpm
dnf -y install make gcc;;
*) fatal "pkg_install_buildroot(): Unhandled OS ${OS_ID}";;
esac